package com.wx.springboot.step9back.service;

import com.wx.springboot.step9back.model.Team;

import java.util.List;
import java.util.Map;

public interface TeamService {
    List<Team> getTeamList();

    Team getTeamByTeamCode(String teamCode);

    String addTeam(Team team);

    List<Team> getSelectList(Map<String, Object> data);

    int getSelectCount(Map<String, Object> data);

    int updateState(Team team);

    int updateTeam(Team team);

    int delTeam(Team team);

    int updateMemberCount(Map param);

    String batchDeletion(List<Integer> ids);

    String removeLeader(String teamCode);

    List<Team> getCheckTeam(List<Integer> ids);
}
